import Vue from 'vue'
import Router from 'vue-router'
import FriendChat from '@/views/FriendChat'
import Login from '@/views/Login'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/home',
      name: 'FriendChat',
      component: FriendChat
    },{
        path:'/login',
        name:'Login',
        component: Login
    }
  ]
})
